//
//  Human.m
//  kvo练习
//
//  Created by apple on 15/9/23.
//  Copyright © 2015年 戴维营. All rights reserved.
//

#import "Human.h"

@implementation Human



+ (BOOL)automaticallyNotifiesObserversForKey:(NSString *)key
{
    //默认为yes，可以选择性制定需要手动发送的通知的key。
    return NO;
}

- (void)testManually
{
    [self willChangeValueForKey:@"name"];
    
    _name = @"liShiHua";
    
    [self didChangeValueForKey:@"name"];
}

@end
